Skip to content

fix: KTO evaluation iterates wrong dataloader - #6405

Closed
Mr-Neutr0n wants to merge 1 commit into
hpcaitech:mainfrom
Mr-Neutr0n:fix/kto-eval-uses-train-dataloader
Closed

fix: KTO evaluation iterates wrong dataloader#6405
Mr-Neutr0n wants to merge 1 commit into
hpcaitech:mainfrom
Mr-Neutr0n:fix/kto-eval-uses-train-dataloader

Conversation

@Mr-Neutr0n

Copy link
Copy Markdown

Bug

The KTO trainer's evaluation method iterates over train_dataloader instead of eval_dataloader, causing evaluation metrics to be computed on training data rather than validation data.

Fix

Changed the evaluation loop to use eval_dataloader.

@Mr-Neutr0n
Mr-Neutr0n requested a review from a team as a code owner February 11, 2026 18:17
@Mr-Neutr0n

Copy link
Copy Markdown
Author

Closing this one to tidy up my open pull requests.

It's been open around five months with no review activity, and I'd rather withdraw it than leave it sitting in your queue. Nothing needed from you, and no hard feelings at all.

If the fix is still wanted, this can be reopened, or I'm happy to redo it properly against current main. Apologies for the noise.

@Mr-Neutr0n Mr-Neutr0n closed this Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant